/* Mobile Markdown Toolbar Styles */
.mobile-markdown-toolbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #f0f0f0;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
  z-index: 100;
  padding: 8px 12px;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
}

.toolbar-buttons {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 8px;
}

.toolbar-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px !important;
  min-height: 44px !important;
  border-radius: 8px;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.toolbar-button:active {
  background: #f0f0f0;
  transform: scale(0.95);
}

/* Touch feedback */
.toolbar-button:hover {
  background: #fafafa;
}

/* Icon sizing */
.toolbar-button .anticon {
  font-size: 18px;
}

/* Safe area support for notched devices */
@supports (padding: max(0px)) {
  .mobile-markdown-toolbar {
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }
}
